<table class="table table-striped table-bordered table-hover">

    <tr align="center">

    <th width="160" height="40">A&ccedil;&otilde;es</th>
    <th>Título</th>
    <th width="100">Data</th>
    </tr>

    <?php

    $sql = "SELECT * FROM notseg WHERE status='1' ORDER BY not_seg_data DESC";
    $res = sql($sql);

    while($linha = mysql_fetch_array($res)) {

    ?>

    <tr>

    <td height="40" align="center">

        <input name="excluir[]" type="checkbox" value="<?=$linha['not_seg_id'];?>"/><i class="icon-trash"></i> Excluir&nbsp;&nbsp;|&nbsp;
        <a href="?pag=notseg_alt&amp;not_seg=<?=$linha['not_seg_id'];?>"><i class="icon-pencil"></i> Editar</a>
    </td>
    <td>
    <?php
    echo "<a href='".$SESSION['pro_site'].$linha['not_seg_url']."' target='_blank'>{$linha['not_seg_nome']}</a>";
    ?>
    </td>
    <td>
        <?php 
        echo todatabr($linha['not_seg_data']);
        ?>
    </td>
    </tr>

    <?
    } 
    ?>
</table>